package com.peak.distribution.vo.order;

import com.peak.distribution.enums.Constants;
import com.peak.spring.boot.api.web.IdVo;
import com.peak.spring.boot.core.mapper.Transfer;

import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
public class DisOrderReceiverVo extends IdVo {

	private static final long serialVersionUID = Constants.DISTRIBUTION_VERSION;
	
	/** 收货人 */
	private String receiver;

	/** 省 */
	private String province;

	/** 市 */
	private String city;

	/** 区县 */
	private String region;

	/** 收货地址 */
	private String address;

	/** 收货人电话 */
	private String phone;

	/** 收货邮编 */
	private String zip;
	
	/** 默认地址 */
	private Boolean isDefault;
	
	/** 代理商 */
	@Transfer(mapping = "agent.id")
	private Integer agentId;
}
